package com.jiji.miaosha.service;

import com.jiji.miaosha.service.model.UserModel;

public interface UserService {

    /**
     * 根据id查询用户
     * @param id
     * @return
     */
    UserModel getUserById(Integer id);

    /**
     * 注册用户
     * @param userModel
     */
    void register(UserModel userModel);

    UserModel validateLogin(String telephone,String encrptPassword);
}
